{layout name='layout' /}

<div class="layui-col-md10 layui-col-md-offset1">
    <fieldset class="layui-elem-field layui-field-title">
        <legend>收藏</legend>
    </fieldset>
    <div style="text-align: center;">
        <div class="layui-inline">
            <table id="idTest"></table>
        </div>
    </div>
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>编号</th>
            <th>分类</th>
            <th>标题</th>
        </tr>
        </thead>
        <tbody>
        {volist name='data' id='val'}
        <tr>
            <td>{$val['id']}</td>
            <td>{$val['name']}</td>
            <td>{$val['title']}</td>
        </tr>
        {/volist}
        </tbody>
    </table>

</div>
